. 
. mat wmatrix=(0.5,0.5,1,1)
{\smallskip}
. teddf K L= Y: CO2, dmu(Province) time(year) nonr wmat(wmatrix) sav(ex.teddf.nonr.weight.result,replace)
{\smallskip}
 The weight vector is (.5 .5 1 1)
{\smallskip}
 The directional vector is (-K -L Y -CO2)
{\smallskip}
{\smallskip}
 Nonraidal Directional Distance Function Results:
    (Row: Row \# in the original data; Dv: Estimated value of nonraidal DDF.)
{\smallskip}
     {\TLC}\HLI{72}{\TRC}
     {\VBAR} Row       Province   year       Dv      B_K      B_L      B_Y    B_CO2 {\VBAR}
     {\LFTT}\HLI{72}{\RGTT}
  1. {\VBAR}   1          Anhui   2013   1.1480   0.0000   0.4867   0.8499   0.0548 {\VBAR}
  2. {\VBAR}   2          Anhui   2014   1.3351   0.0000   0.4047   1.1247   0.0081 {\VBAR}
  3. {\VBAR}   3          Anhui   2015   1.3577   0.0000   0.3305   1.1924   0.0000 {\VBAR}
  4. {\VBAR}   4        Beijing   2013   0.0000   0.0000   0.0000   0.0000   0.0000 {\VBAR}
  5. {\VBAR}   5        Beijing   2014   0.0000   0.0000   0.0000   0.0000   0.0000 {\VBAR}
  6. {\VBAR}   6        Beijing   2015   0.0000   0.0000   0.0000   0.0000   0.0000 {\VBAR}
                                     ...
                                     ...
                                     ...
 85. {\VBAR}  82         Yunnan   2013   1.2663   0.0000   0.6040   0.8117   0.1526 {\VBAR}
 86. {\VBAR}  83         Yunnan   2014   1.3723   0.0000   0.5520   1.0682   0.0281 {\VBAR}
 87. {\VBAR}  84         Yunnan   2015   1.2843   0.0000   0.4933   1.0377   0.0000 {\VBAR}
 88. {\VBAR}  85       Zhejiang   2013   0.5346   0.2696   0.4386   0.0000   0.1805 {\VBAR}
 89. {\VBAR}  86       Zhejiang   2014   0.6209   0.3364   0.4375   0.0000   0.2340 {\VBAR}
 90. {\VBAR}  87       Zhejiang   2015   0.6449   0.3912   0.4368   0.0000   0.2309 {\VBAR}
     {\BLC}\HLI{72}{\BRC}
Note: Missing value indicates infeasible problem.
(note: file ex.teddf.nonr.weight.result.dta not found)
file ex.teddf.nonr.weight.result.dta saved
{\smallskip}
Estimated Results are saved in ex.teddf.nonr.weight.result.dta.
{\smallskip}
. 
